<?php
		$view = new view();
		$view->name = 'product_of_day';
		$view->description = 'Provide a list of node titles, creation dates, owner and status';
		$view->tag = '';
		$view->base_table = 'node';
		$view->human_name = '';
		$view->core = 0;
		$view->api_version = '3.0';
		$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
		
		/* Display: Defaults */
		$handler = $view->new_display('default', 'Defaults', 'default');
		$handler->display->display_options['title'] = t('Product');
		$handler->display->display_options['use_more_always'] = FALSE;
		$handler->display->display_options['access']['type'] = 'role';
		$handler->display->display_options['access']['role'] = array(
		  3 => '3',
		  2 => '2',
		  1 => '1',
		);
		$handler->display->display_options['cache']['type'] = 'none';
		$handler->display->display_options['query']['type'] = 'views_query';
		$handler->display->display_options['exposed_form']['type'] = 'basic';
		$handler->display->display_options['pager']['type'] = 'some';
		$handler->display->display_options['pager']['options']['items_per_page'] = '6';
		$handler->display->display_options['pager']['options']['offset'] = '0';
		$handler->display->display_options['pager']['options']['id'] = '0';
		$handler->display->display_options['style_plugin'] = 'grid';
		$handler->display->display_options['row_plugin'] = 'fields';
		/* Header: Global: Text area */
		$handler->display->display_options['header']['area']['id'] = 'area';
		$handler->display->display_options['header']['area']['table'] = 'views';
		$handler->display->display_options['header']['area']['field'] = 'area';
		$handler->display->display_options['header']['area']['empty'] = TRUE;
		$handler->display->display_options['header']['area']['content'] = '<h2>Following is a list of all non-page 
		     nodes.</h2>';
		$handler->display->display_options['header']['area']['format'] = '3';
		/* Footer: Global: Text area */
		$handler->display->display_options['footer']['area']['id'] = 'area';
		$handler->display->display_options['footer']['area']['table'] = 'views';
		$handler->display->display_options['footer']['area']['field'] = 'area';
		$handler->display->display_options['footer']['area']['empty'] = TRUE;
		$handler->display->display_options['footer']['area']['content'] = '<small>This view is brought to you courtesy 
		      of the D7 Views Recipes module</small>';
		$handler->display->display_options['footer']['area']['format'] = '3';
		/* Relationship: Content: Author */
		$handler->display->display_options['relationships']['uid']['id'] = 'uid';
		$handler->display->display_options['relationships']['uid']['table'] = 'node';
		$handler->display->display_options['relationships']['uid']['field'] = 'uid';
		/* Field: Content: Image */
		$handler->display->display_options['fields']['uc_product_image']['id'] = 'uc_product_image';
		$handler->display->display_options['fields']['uc_product_image']['#title'] = 'uc_product_image';
		$handler->display->display_options['fields']['uc_product_image']['table'] = 'field_data_uc_product_image';
		$handler->display->display_options['fields']['uc_product_image']['field'] = 'uc_product_image';
		$handler->display->display_options['fields']['uc_product_image']['hide_alter_empty'] = FALSE;
		$handler->display->display_options['fields']['uc_product_image']['click_sort_column'] = 'fid';
		$handler->display->display_options['fields']['uc_product_image']['settings'] = array(
		  'image_style' => '',
		  'image_link' => 'content',
		);
		$handler->display->display_options['fields']['uc_product_image']['delta_limit'] = '1';
		$handler->display->display_options['fields']['uc_product_image']['delta_offset'] = '0';
		$handler->display->display_options['fields']['uc_product_image']['id'] = 'uc_product_image';
		$handler->display->display_options['fields']['uc_product_image']['table'] = 'field_data_uc_product_image';
		$handler->display->display_options['fields']['uc_product_image']['field'] = 'uc_product_image';
		$handler->display->display_options['fields']['uc_product_image']['hide_alter_empty'] = FALSE;
		$handler->display->display_options['fields']['uc_product_image']['click_sort_column'] = 'fid';
		$handler->display->display_options['fields']['uc_product_image']['settings'] = array(
		  'image_style' => '160x160',
		  'image_link' => 'content',
		);
		$handler->display->display_options['fields']['uc_product_image']['delta_limit'] = '1';
		$handler->display->display_options['fields']['uc_product_image']['delta_offset'] = '0';
		
		/* Field: Content: Title */
		$handler->display->display_options['fields']['title']['id'] = 'title';
		$handler->display->display_options['fields']['title']['table'] = 'node';
		$handler->display->display_options['fields']['title']['field'] = 'title';
		$handler->display->display_options['fields']['title']['link_to_node'] = TRUE;
		/* Field: Content: Type */
		$handler->display->display_options['fields']['type']['id'] = 'type';
		$handler->display->display_options['fields']['type']['table'] = 'node';
		$handler->display->display_options['fields']['type']['field'] = 'type';
		/* Field: Content: Post date */
		$handler->display->display_options['fields']['created']['id'] = 'created';
		$handler->display->display_options['fields']['created']['table'] = 'node';
		$handler->display->display_options['fields']['created']['field'] = 'created';
		$handler->display->display_options['fields']['created']['date_format'] = 'custom';
		$handler->display->display_options['fields']['created']['custom_date_format'] = 'Y-m-d';
		/* Field: User: Name */
		$handler->display->display_options['fields']['name']['id'] = 'name';
		$handler->display->display_options['fields']['name']['table'] = 'users';
		$handler->display->display_options['fields']['name']['field'] = 'name';
		$handler->display->display_options['fields']['name']['relationship'] = 'uid';
		$handler->display->display_options['fields']['name']['label'] = 'Author';
		$handler->display->display_options['fields']['name']['link_to_user'] = FALSE;
		/* Field: Content: Published */
		$handler->display->display_options['fields']['status']['id'] = 'status';
		$handler->display->display_options['fields']['status']['table'] = 'node';
		$handler->display->display_options['fields']['status']['field'] = 'status';
		$handler->display->display_options['fields']['status']['type'] = 'true-false';
		$handler->display->display_options['fields']['status']['not'] = 0;
		
		/* Field: Product: Sell price */
		$handler->display->display_options['fields']['sell_price']['id'] = 'sell_price';
		$handler->display->display_options['fields']['sell_price']['table'] = 'uc_products';
		$handler->display->display_options['fields']['sell_price']['field'] = 'sell_price';
		$handler->display->display_options['fields']['sell_price']['precision'] = '0';
		
		/* Field: Product: List price */
		$handler->display->display_options['fields']['list_price']['id'] = 'list_price';
		$handler->display->display_options['fields']['list_price']['table'] = 'uc_products';
		$handler->display->display_options['fields']['list_price']['field'] = 'list_price';
		$handler->display->display_options['fields']['list_price']['precision'] = '0';
		
		/* Field: Product: Add to cart form */
		$handler->display->display_options['fields']['addtocartlink']['id'] = 'addtocartlink';
		$handler->display->display_options['fields']['addtocartlink']['table'] = 'uc_products';
		$handler->display->display_options['fields']['addtocartlink']['field'] = 'addtocartlink';
		
		/* Sort criterion: Content: Post date */
		$handler->display->display_options['sorts']['created']['id'] = 'created';
		$handler->display->display_options['sorts']['created']['table'] = 'node';
		$handler->display->display_options['sorts']['created']['field'] = 'created';
		$handler->display->display_options['sorts']['created']['order'] = 'DESC';
		/* Contextual filter: Content: Catalog (taxonomy_catalog) */
		$handler->display->display_options['arguments']['taxonomy_catalog_tid']['id'] = 'taxonomy_catalog_tid';
		$handler->display->display_options['arguments']['taxonomy_catalog_tid']['table'] = 'field_data_taxonomy_catalog';
		$handler->display->display_options['arguments']['taxonomy_catalog_tid']['field'] = 'taxonomy_catalog_tid';
		$handler->display->display_options['arguments']['taxonomy_catalog_tid']['default_argument_type'] = 'fixed';
		$handler->display->display_options['arguments']['taxonomy_catalog_tid']['summary']['number_of_records'] = '0';
		$handler->display->display_options['arguments']['taxonomy_catalog_tid']['summary']['format'] = 'default_summary';
		$handler->display->display_options['arguments']['taxonomy_catalog_tid']['summary_options']['items_per_page'] = '25';
		/* Filter criterion: Content: Type */
		$handler->display->display_options['filters']['type']['id'] = 'type';
		$handler->display->display_options['filters']['type']['table'] = 'node';
		$handler->display->display_options['filters']['type']['field'] = 'type';
		$handler->display->display_options['filters']['type']['value'] = array(
		  'product' => 'product',
		);
		
		/* Display: Page */
		$handler = $view->new_display('page', 'Page', 'page_1');
		$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
		$handler->display->display_options['path'] = 'catalogs2';
		$views[$view->name] = $view;
		
